﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="BJXXConfirmReturn.aspx.cs" Inherits="WXYW.BJXXConfirmReturn" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="Ajax" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitlePlaceHolder" runat="server">
    备件申请单-归还备件
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ButtonPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="RightContentPlaceHolder" runat="server">
    <div align="right">
        <img src="image/operateicon/select.gif" />
        <asp:LinkButton ID="reSendLinkButton" runat="server" OnClientClick="javascript:return confirm('你确定由于收货差异要从新给客户发货吗？')"
            OnClick="reSendLinkButton_Click">重新发货</asp:LinkButton>
        <img src="image/operateicon/check.gif" />
        <asp:LinkButton ID="saveLinkButton" runat="server">确认归还</asp:LinkButton>
    </div>
    <table width="100%">
        <tr style="height: 25px">
            <td colspan="6">
                <asp:Label ID="msgLbl" runat="server" Text="" ForeColor="Red"></asp:Label></td>
        </tr>
        <tr style="height: 25px">
            <td style="width: 10%">
                <b>流水号:</b>
            </td>
            <td style="width: 30%">
                <asp:Label ID="runningNumberLabel" runat="server" Text=""></asp:Label>
            </td>
            <td style="width: 10%">
            </td>
            <td style="width: 10%">
                <b>SP单号:</b>
            </td>
            <td style="width: 30%">
                <asp:Label ID="spcodeLabel" runat="server" Text=""></asp:Label>
            </td>
            <td style="width: 10%">
            </td>
        </tr>
        <tr style="height: 25px;">
            <td colspan="6" style="border-bottom-style: solid; border-bottom-width: 1px;">
                <b>用户信息</b>
            </td>
        </tr>
        <tr style="height: 25px">
            <td style="width: 10%">
                申请人：
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;
                width: 30%;">
                <asp:Label ID="contactLabel" runat="server"></asp:Label>
            </td>
            <td style="width: 10%">
            </td>
            <td style="width: 10%">
                公司名称：
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;
                width: 30%;">
                <asp:Label ID="companyLabel" runat="server"></asp:Label>
            </td>
            <td style="width: 10%">
            </td>
        </tr>
        <tr style="height: 25px">
            <td>
                电话：
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="phoneNumberLabel" runat="server"></asp:Label>
            </td>
            <td>
            </td>
            <td>
                手机号码：
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="cellPhoneLabel" runat="server"></asp:Label>
            </td>
            <td>
            </td>
        </tr>
        <tr style="height: 25px">
            <td>
                传真：
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="faxLabel" runat="server"></asp:Label>
            </td>
            <td>
            </td>
            <td>
                通迅地址：
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="addressLabel" runat="server"></asp:Label>
            </td>
            <td>
            </td>
        </tr>
        <tr style="height: 25px">
            <td>
                电子邮件：
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="emailLabel" runat="server"></asp:Label>
            </td>
            <td>
            </td>
            <td>
                代理商/销售员：
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="agentLabel" runat="server" Text="" Width="100%"></asp:Label>
            </td>
            <td>
            </td>
        </tr>
        <tr style="height: 25px">
            <td>
                申请日期：
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="Label1" runat="server" Width="100%"></asp:Label>
            </td>
            <td>
            </td>
            <td>
                审批日期：
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="Label2" runat="server" Width="100%"></asp:Label>
            </td>
        </tr>
        <tr style="height: 25px">
            <td>
                代填人：
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="Label3" runat="server" Width="100%"></asp:Label>
            </td>
            <td>
            </td>
            <td>
                代填人电话：
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="Label4" runat="server" Width="100%"></asp:Label>
            </td>
        </tr>
        <tr style="height: 10px">
            <td colspan="6">
            </td>
        </tr>
        <tr style="height: 25px">
            <td colspan="6" style="border-bottom-style: solid; border-bottom-width: 1px;">
                <b>产品信息</b>
            </td>
        </tr>
        <tr style="height: 10px">
            <td colspan="6">
            </td>
        </tr>
    </table>
    <table class="tableList" width="100%" border="1" style="border-color: #888888">
        <tr style="height: 25px">
            <th>
                产品型号
            </th>
            <th>
                产品序列号
            </th>
            <th>
                发货日期
            </th>
            <th>
                产品购买日期
            </th>
            <th>
                保修性质
            </th>
            <th>
                状态
            </th>
        </tr>
        <tr style="height: 25px">
            <td>
                <asp:Label ID="productTypeLabel" runat="server" Text=""></asp:Label>
            </td>
            <td>
                <asp:Label ID="productSerivalNumberLabel" runat="server" Text=""></asp:Label>
            </td>
            <td>
                <asp:Label ID="sendTimeLabel" runat="server" Text=""></asp:Label>
            </td>
            <td>
                <asp:Label ID="buyTimeLabel" runat="server" Text=""></asp:Label>
            </td>
            <td>
                <asp:Label ID="repairTupeLabel" runat="server" Text=""></asp:Label>
            </td>
            <td>
                <asp:Label ID="statusLabel" runat="server" Text=""></asp:Label>
            </td>
        </tr>
    </table>
    <table width="100%">
        <tr style="height: 25px;">
            <td style="border-bottom-style: solid; border-bottom-width: 1px;">
                <b>归还信息</b>
            </td>
        </tr>
        <tr>
            <td>
                <table class="tableList" width="100%" border="1" style="border-color: #888888">
                    <tr style="height: 25px">
                        <th>
                            归还产品型号
                        </th>
                        <th>
                            归还产品序列号
                        </th>
                        <th>
                            归还产品版本号
                        </th>
                        <th>
                            备注
                        </th>
                    </tr>
                    <tr style="height: 25px">
                        <td>
                            <asp:TextBox ID="returnProductTypeTextBox" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            <asp:TextBox ID="returnProductSerialTextBox" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            <asp:TextBox ID="returnProductVersionTextBox" runat="server"></asp:TextBox>
                        </td>
                        <td>
                            <asp:TextBox ID="returnRemarkTextBox" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr style="height: 25px;">
            <td style="border-bottom-style: solid; border-bottom-width: 1px;">
                <b>客户收货</b>
            </td>
        </tr>
        <tr>
            <td>
                <table class="tableList" width="100%" border="1" style="border-color: #888888">
                    <tr>
                        <th>
                            客户收货时间
                        </th>
                        <th>
                            客户收货差异
                        </th>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="clientReceiveTimeLabel" runat="server" Text=""></asp:Label>
                        </td>
                        <td>
                            <asp:Label ID="clientReceiveMarkLabel" runat="server" Text=""></asp:Label>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <p>
    </p>
    <asp:Panel ID="reSendPanel" runat="server" Visible="false">
        <table class="tableList" width="100%" border="1" style="border-color: #888888">
            <tr style="height: 25px;">
                <td align="left" colspan="4" style="border-bottom-style: solid; border-bottom-width: 1px;">
                    <span style="color: Red"><b>上一次发货信息</b></span>
                </td>
            </tr>
            <tr style="height: 10px">
                <td colspan="4">
                </td>
            </tr>
            <tr style="height: 25px">
                <th>
                    产品型号
                </th>
                <th>
                    产品序列号
                </th>
                <th>
                    产品版本号
                </th>
                <th>
                    发货备注
                </th>
            </tr>
            <tr style="height: 25px">
                <td>
                    <asp:Label ID="lastproducttypeTextBox" runat="server" Text=""></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lastproductserialnumberTextBox" runat="server" Text=""></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lastproductVersionTextBox" runat="server"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="lastsendRemarkTextBox" runat="server"></asp:Label>
                </td>
            </tr>
        </table>
    </asp:Panel>
    <Ajax:ModalPopupExtender ID="ModalPopupExtender2" TargetControlID="saveLinkButton"
        PopupControlID="approvePanel" BackgroundCssClass="modalBackground" runat="server"
        Drag="true" PopupDragHandleControlID="Div2" CancelControlID="closeButton">
    </Ajax:ModalPopupExtender>
    <asp:Panel ID="approvePanel" CssClass="modalPopup" Style="display: none" Width="700px"
        BackImageUrl="~/image/mainSkinBG.gif" runat="server" DefaultButton="okButton">
        <!-- Header -->
        <div class="box-header" id="Div2">
            <img src="image/stdBox_left_top.gif" alt="" />
            <h2>
                备件归还
            </h2>
        </div>
        <table width="100%" style="line-height:25px">
            <tr>
                <td>
                    <b>邮件通知：</b>
                </td>
                <td>
                    <asp:CheckBox ID="isSendEmailChkBox" runat="server" Text="如果需要发送请选中此框" ForeColor="Red" Checked="true" />
                </td>
                <td>
                    <b>短信通知申请人：</b>
                </td>
                <td>
                    <asp:CheckBox ID="isSendSMS2ApplierChkBox" runat="server" Text="如果需要发送请选中此框" ForeColor="Red" />
                </td>
            </tr>
            <tr>
                <td>
                    <b>接收邮箱：</b>
                </td>
                <td>
                    <asp:TextBox ID="emailTxtBox" runat="server" Width="200px"></asp:TextBox>
                </td>
                <td>
                    <b>接收手机：</b>
                </td>
                <td>
                    <asp:TextBox ID="applierPhoneTxtBox" runat="server" Width="200px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:TextBox ID="emailNoticeTxtBox" runat="server" TextMode="MultiLine" Height="80px"
                        Width="95%"></asp:TextBox>
                </td>
                <td colspan="2">
                    <asp:TextBox ID="SMS2ApplierTxtBox" runat="server" TextMode="MultiLine" Height="80px"
                        Width="95%"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    <b>短信通知客户：</b>
                </td>
                <td>
                    <asp:CheckBox ID="isSendSMS2CustomerChkBox" runat="server" Text="如果需要发送请选中此框" ForeColor="Red" />
                </td>
                <td>
                    <b>短信通知销售人员：</b>
                </td>
                <td>
                    <asp:CheckBox ID="isSendSMS2SaleChkBox" runat="server" Text="如果需要发送请选中此框" ForeColor="Red" />
                </td>
            </tr>
            <tr>
                <td>
                    <b>接收手机：</b>
                </td>
                <td>
                    <asp:TextBox ID="customerPhoneTxtBox" runat="server" Width="200px"></asp:TextBox>
                </td>
                <td>
                    <b>接收手机：</b>
                </td>
                <td>
                    <asp:TextBox ID="salePhoneTxtBox" runat="server" Width="200px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:TextBox ID="SMS2CustomerTxtBox" runat="server" TextMode="MultiLine" Height="80px"
                        Width="95%"></asp:TextBox>
                </td>
                <td colspan="2">
                    <asp:TextBox ID="SMS2SaleTxtBox" runat="server" TextMode="MultiLine" Height="80px"
                        Width="95%"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td colspan="4" style="color: Red">
                    提示：多个接收手机号码之间用空格隔开,每条短信字数限制在70字以内
                </td>
            </tr>
            <tr style="text-align: center">
                <td colspan="4">
                    <asp:Button ID="okButton" runat="server" Text="确认" OnClick="saveLinkButton_Click" />
                    <asp:Button ID="closeButton" runat="server" Text="取消" />
                </td>
            </tr>
        </table>
    </asp:Panel>
</asp:Content>
